{echo:JS::import('dialog?skin=brief');}
{echo:JS::import('dialogtools');}
{echo:JS::import('validator');}
<form action="" method="post">
<div class="tools_bar clearfix">
    <a class="icon-checkbox-checked icon-checkbox-unchecked" href="javascript:;" onclick="tools_select('id[]',this)" title="全选" data="true"> 全选 </a>
    <a  class="icon-remove-2" href="javascript:;" onclick="tools_submit({action:'{url:/content/index_del}',msg:'删除后无法恢复，你真的删除吗？'})" title="删除"> 删除</a>
    <a href='{url:/content/index_edit}' class="icon-plus" > 添加</a>
</div>
<table class="default">
    <tr>
        <th style="width:30px">选择</th>
        <th style="width:70px">操作</th>
        <th style="width:100px">版块标题</th>
        <th style="width:100px">所属分类</th>
        <th style="width:50px">版块基色</th>
        <th style="width:40px"></th>
        <th style="width:60px">排序</th>
        <th style="width:200px">广告代码</th>
        <th style="width:80px">是否显示广告</th>
        
    </tr>
    {query:name=themes page=1 id=$obj order=t_px desc}
        <tr><td style="width:30px"><input type="checkbox" name="id[]" value="{$item['t_id']}"></td>
        <td style="width:70px" class="btn_min"><div class="operat hidden"><a  class="icon-cog action" href="javascript:;"> 处理</a><div class="menu_select"><ul>
                    <li><a class="icon-pencil" href="{url:/content/index_edit/tid/$item[t_id]}"> 编辑</a></li>
                    <li><a class="icon-remove-2" href="javascript:confirm_action('{url:/content/index_del/id/$item[t_id]}')"> 删除</a></li>
                </ul></div></div> </td>
        <td>{$item['t_title']}</td>
        <td>{echo:Zyk_tj::zyk_info('goods_category',$item['t_type'],'name')}</td>
        <td style="background: {$item['t_color']}"></td>
        <td></td>
        <td>{$item['t_px']}</td>
        <td>{$item['t_ad']}</td>
        <td>{if:$item['ad_show']==1}<b class="green">开启</b>{else:}<span>关闭</span>{/if}</td>
        </tr>
    {/query}
</table>
<div class="page_nav">
{echo:$obj->pageBar()}
</div>
</form>